package cn.hnevc.lihao;
import java.io.FileReader;

public class ExampleTest48 {

	public static void main(String[] args) throws Exception{
		FileReader reader =new FileReader("text.txt");
		int ch;
		while((ch = reader.read()) != -1){
			System.out.println((char)ch);
		}
		System.out.println(ch);
		reader.close();
	}
}
